package com.ybu.pojo.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class AddressDTO {
    @NotBlank(message = "收货人姓名不能为空")
    private String name;
    private Integer provinceCode;
    private Integer cityCode;
    private Integer areaCode;
    private Integer zip;
    private String  provinceName;
    private String  cityName;
    private String  areaName;
    @NotBlank(message = "详细地址不能为空")
    private String address;
    @NotBlank(message = "手机号不能为空")
    private String phone;
    private String tel;
    private String tag;
}
